package com.ctshk.rpc.system.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @author Lenovo
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "AreaQueryWhereReq对象", description = "AreaQueryWhereReq")
public class AreaQueryWhereReq implements Serializable {

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "1國內 2國外 其他或空不设置这个条件")
    private Integer type;

    @ApiModelProperty(value = "優先級小於levels 省市区层次（1国家2省份3城市4区县 其他或空不设置这个条件）")
    private Integer level;

    @ApiModelProperty(value = "優先級大於level  层级1国家2省份3城市4区县（in条件）")
    private List<Integer> levels;

    @ApiModelProperty(value = "查詢數量  默認10條")
    private Integer size = 10;

    @ApiModelProperty(value = "抛弃除港澳台以外的省级-只对2级生效")
    private boolean flagTwo = false;

    @ApiModelProperty(value = "抛弃除港澳台以外的一级-只对3级生效")
    private boolean flagOne = false;

    @ApiModelProperty(value = "抛弃除港澳台的一级and抛弃港澳台的二级-只对1,2级生效")
    private boolean flagOneAndTwo = false;
}
